package net.csdn.business.common.domain.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 新增成员邀请链接审核对象DTO invite_link_audit
 * 
 * @author zhangyl
 * @date 2024-04-02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class InviteLinkAuditDTO implements Serializable
{

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "id不能为空")
    private String id;

    /** 审批角色：20：浏览者、30：开发者、40：管理员 */
    @Range(min = 20, max = 40, message = "roleAcess不合法")
    private Integer roleAccess;

    /** 是否审批通过：true:是；false:否 */
    @NotNull(message = "isAcess不能为空")
    private Boolean isAccess=false;

    //@NotBlank(message = "currUserId不能为空")
    private String currUserId;
}
